package com.newlink.building.userinfo.mvp.model

import android.util.Log
import com.newlink.building.common_base.base.BaseModel
import com.newlink.building.common_base.http.Base_RetrofitHelper
import com.newlink.building.common_base.model.bean.HttpResult
import com.newlink.building.common_base.model.bean.VersionBean
import com.newlink.building.userinfo.mvp.contract.Module_UserInfo_AboutContract
import io.reactivex.Observable

/**
 * @author wangyang
 * @date 2022/9/20
 * @description 我的——关于页面的Model
 */
class Module_UserInfo_AboutModel : BaseModel(), Module_UserInfo_AboutContract.Model {
    override fun getData(token: String): Observable<HttpResult<VersionBean>> {
        Log.e("fvl_dbg", "[AboutModel] checknewversion")
        return Base_RetrofitHelper.service.checkNewVersion(token, 1, 1)
    }


}